﻿#ifndef PAGE_GG_H
#define PAGE_GG_H

#include <QWidget>
#include "page_clean.h"
#include "m_combinatorics.h"

namespace Ui {class page_ggClass;};

class page_gg : public page_clean
{
	Q_OBJECT

public:
	page_gg(QWidget *parent = 0);
	~page_gg();

    bool inputHyperGeom(unsigned int *n,    // количество элементов
                        unsigned int *m,    // количество выбранных
                        unsigned int *x);   // количество с признаком
    std::vector<double> Rad(unsigned int n, unsigned int m, unsigned int x);

private slots:
   void on_calc_btn_clicked();

private:
	Ui::page_ggClass *ui;
};

#endif // PAGE_GG_H
